package com.ticket.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class CacheConstants
{
    /**
     * 登录用户 redis key
     */
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";

    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";

    /**
     * 参数管理 cache key
     */
    public static final String SYS_CONFIG_KEY = "sys_config:";

    /**
     * 字典管理 cache key
     */
    public static final String SYS_DICT_KEY = "sys_dict:";

    /**
     * 防重提交 redis key
     */
    public static final String REPEAT_SUBMIT_KEY = "repeat_submit:";

    /**
     * 限流 redis key
     */
    public static final String RATE_LIMIT_KEY = "rate_limit:";

    /**
     * 登录账户密码错误次数 redis key
     */
    public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";

    public static final String TICKET_LOCK_KEY = "ticket_lock:";

    public static final String TICKET_CHECK_KEY = "ticket_check:";

    public static final String TICKET_CHECK_DETAILID_KEY = "ticket_check_detailid:";

    public static final String LOGIN_WXUSER_KEY = "wx_user_tokens:";

    public static final String PERFORM_DETAIL_KEY = "perform_detail:";

    public static final String TICKET_PRICE_LIST_KEY = "ticket_PRICE_PROG:";

    public static final String TICKET_CHECK_COUNT_KEY = "ticket_check_count:";

    public static final String ORDER_UNI_KEY = "order_uni_key:";
    public static final String CLASSFYLIST_KEY = "Classify_List_key:";

    public static final String RECHARGE_KEY = "RECHARGE_key:";

    public static final String RECHARGE_LOCK_KEY = "RECHARGE_lock_key:";

    public static final String TICKETNO_KEY = "TICKETNO_";
}
